<!--{*Part of the CEFIRO project by dyrtech.com.ve. Copyleft GPLv3 2007. Please see the disclaimer at the root of the project: http://dyrtech.com.ve/cefiro/license.txt*}-->
<script type="text/php">

	if ( isset($pdf) ) {literal} { {/literal}

		$hrheader = $pdf->open_object();

		/**
		 *Se obtiene el ancho del pdf
		 */
		$pdfwidth 	= $pdf->get_width();

		/**
		 * Colores de la linea
		 */
		$color = array({$r},{$g},{$b});

		/**
		 * Se ajustan los parametros de la linea para su renderizacion
		 */
		$pdf->line({$x},{$y},$pdfwidth-{$x},{$y},$color,{$width});

		$pdf->close_object();

		$pdf->add_object($hrheader, "all");
	{literal} } {/literal}
</script>